#ifndef RETURN_H
#define RETURN_H

#include "Node.h"

class Return : public Node
{
	public:
		Return(Node * Expr): expr(Expr) {}
		~Return();
		Node * getExpr();
		int getFunc();
		void setFunc(int n);
		void accept(Visitor & v);

	private:
		Node * expr;
		int funcnum;
};

#endif

